package org.example.multi_sys_consist.pojo.entity;

import lombok.Data;
import org.example.multi_sys_consist.constant.TransactionJobType;

@Data
public class TransactionJob {
    private Long id;
    /**
     * 任务类型{@link TransactionJobType}
     */
    private String type;
    /**
     * 任务数据
     */
    private String data;

    private String errorMessage;
    /**
     * 任务上下文
     */
    private String context;

    private Long createTime;

    private Long updateTime;

    private Integer retryTimes;
}
